package com.doubi.modelvo.sys;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单信息
 *
 * @author MrDoubi
 * @since 2020-03-17
 */
@Data
@ApiModel("订单对象")
public class OrderInfoVo {

    @ApiModelProperty(value = "唯一标识")
    private String oid;
    @ApiModelProperty(value = "用户oid")
    private String userOid;
    @ApiModelProperty(value = "类型 1.酒店 2.摄影师3.摄像4.化妆 5.主持人")
    private Integer type;
    @ApiModelProperty(value = "1.待处理2.进行中 3.待评价 4.售后")
    private Integer typeOne;
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "商家oid")
    private String serviceUserOid;
    @ApiModelProperty(value = "预定时间")
    private Date reserveTime;
    @ApiModelProperty(value = "预定人")
    private String reserveName;
    @ApiModelProperty(value = "电话")
    private String reservePhone;
    @ApiModelProperty(value = "身份证")
    private String reserveIdCard;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "支付时间")
    private Date payTime;
    @ApiModelProperty(value = "状态1.未支付 2.已支付 3.待评价 4.已完成 ")
    private Integer status;
    @ApiModelProperty(value = "1.退款中 2.退款完成 3.退款关闭")
    private Integer refundStatus;
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "头像")
    private String head;

}